package com.fhz.circle.food;

import androidx.lifecycle.LiveData;

import com.fhz.circle.common.RetrofitFactory;
import com.fhz.core_lib.mvvm.IModel;

import io.reactivex.Observable;


/**
 * 时间:11/8/21
 *
 * @author msfeng
 * 简述: TODO
 */
public class UserCenterModel implements IModel {

    public LiveData<Food> getFood(){
        Api api = RetrofitFactory.getRetrofitFactory().create(Api.class);
        LiveData<Food> food = api.getFood();
        return food;
    }



}
